{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% block title %}Flasky{% endblock %}

{% block page_content %}
<div class="page-header">
<h1>{{article.title}}</h1>
<article>{{article.content|safe}}</article>
</div>
<div>固定链接：<a href="{{url_for('main.article_show',id=article.id)}}">{{url_for('main.article_show',id=article.id,_external=True)}}</a></div>


<div>
     {{ wtf.quick_form(form) }}
</div>
{% include '_comment.html'%}

<div class="pagination">
    {{ macros.pagination_widget(pagination,'main.article_show',fragment='#comments', id=article.id)}}
</div>

{% endblock %}
